﻿function changeBGon() {
	if ((document.getElementById("text_search").value != "")
			&& (document.getElementById("text_search").value != "Введите текст...")) {

	} else {
		document.getElementById("text_search").style.background = "#F3DEB3";
		document.getElementById("text_search").value = "";
	}
}

function changeBGoff() {
	if ((document.getElementById("text_search").value != "")
			&& (document.getElementById("text_search").value != "Введите текст...")) {

	} else {
		document.getElementById("text_search").style.background = "#D5B28A";
		document.getElementById("text_search").value = "Введите текст...";
	}
}

function formSubmitHandler(){
    document.getElementById('formCategory').submit();
}